package wt.dao.specific;

import org.apache.ibatis.annotations.Param;
import wt.entity.specific.ExtractExpert;

import java.util.Date;
import java.util.List;

public interface ExtractExpertMapper {



    /**
     * 手动抽取专家信息
     * @param name
     * @param outLander
     * @param gradeList
     * @param majorNumList
     * @param itemId
     * @param affiliateCompany
     * @param startTime
     * @param endTime
     * @return
     * @throws Exception
     */
    List<ExtractExpert> selectManuallyExtractExpert(@Param("name") String name,
                                                    @Param("outLander") Short outLander,
                                                    @Param("gradeList") List<String> gradeList,
                                                    @Param("majorNumList") List<String> majorNumList,
                                                    @Param("itemId") String itemId,
                                                    @Param("affiliateCompany") String affiliateCompany,
                                                    @Param("startTime") Date startTime,
                                                    @Param("endTime") Date endTime
    ) throws Exception;


    /**
     * 自动动抽取专家信息
     * @param name
     * @param outLander
     * @param gradeList
     * @param majorNumList
     * @param itemId
     * @param affiliateCompany
     * @param startTime
     * @param endTime
     * @return
     * @throws Exception
     */
    List<ExtractExpert> selectAutomaticExtractExpert(@Param("name") String name,
                                                     @Param("outLander") Short outLander,
                                                     @Param("gradeList") List<String> gradeList,
                                                     @Param("majorNumList") List<String> majorNumList,
                                                     @Param("itemId") String itemId,
                                                     @Param("affiliateCompany") String affiliateCompany,
                                                     @Param("startTime") Date startTime,
                                                     @Param("endTime") Date endTime
    ) throws Exception;

}